﻿using FastMvc.Crud;
using FastMvc.Repositories;
using JQ.SAAS.DTO.JTask;
using JQ.SAAS.Entity;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Test.IService.Tasks;

namespace Test.Service.Tasks
{
    public class TaskService : CrudService<jtask, JTaskDto, string, JTaskListRequestDto, JTaskCreateDto,JTaskCreateDto>, ITaskService
    {
        public TaskService(IRepository<jtask> repository)
            : base(repository)
        { }

        public async Task<bool> RunCommand(JTaskRunCommandDto commandDto)
        {
            return await Task.FromResult(true);
        }
    }
}
